package com.bigfish.gbs.service.impl;

import com.bigfish.gbs.dao.CityMapper;
import com.bigfish.gbs.entity.City;
import com.bigfish.gbs.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author Joycessh
 * @Description
 * @Date 12/21/18 11:20 PM
 */
@Service("CityService")
public class CityServiceImpl implements CityService {

    @Autowired
    private CityMapper cityMapper;

    @Override
    public List<City> getCity() {
        return cityMapper.select();
    }
}
